package com.tuanzi.loan.workflow.entity;

import java.io.Serializable;

import javax.persistence.*;

import lombok.Data;

/**
 * @author Ray
 * @date 2018/01/17
 */
@Data
@Entity
@Table(name = "ACT_EXT_PROCINST_FORM_PARAM")
public class FormInstParam implements Serializable {

	public final static String ACTION_ID_NAME = "action_id_name";

	public final static String ACTION_EXTRA_PARAM = "action_extra_param";
	private static final long serialVersionUID = -3082135247641883322L;

	/**
	 * 主键id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 流程定义id
	 */
	@Column(name = "PROC_DEF_ID")
	private String procDefId;

	/**
	 * 流程定义key
	 */
	@Column(name = "PROC_DEF_KEY")
	private String procDefKey;

	/**
	 * 流程实例id
	 */
	@Column(name = "PROC_INST_ID")
	private String procInstId;

	/**
	 * 流id
	 */
	@Column(name = "ACTIVITY_ID")
	private String activityId;

	/** action请求的额外参数 */
	@Column(name = "ACTION_EXTRA_PARAM")
	private String actionExtraParam;

	/** action请求的id属性名称 */
	@Column(name = "ACTION_ID_NAME")
	private String actionIdName;

}
